<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Expires" content="Fri, Jan 01 1900 00:00:00 GMT">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Lang" content="en">
<meta name="author" content="">
<meta http-equiv="Reply-to" content="@.com">
<meta name="generator" content="PhpED 5.8">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="creation-date" content="01/01/2009">
<meta name="revisit-after" content="15 days">

<script type="text/javascript" src="../javascript/jquery.js"></script>
<script type="text/javascript" src="../javascript/inline_message.js"></script>
<link rel="stylesheet" type="text/css" href="../css/inline_message.css">


<title>Untitled</title>
<script type="text/javascript">
    var browser =  navigator.appName;
    if(browser == "Microsoft Internet Explorer"){
        document.write('<link href="../css/styleie.css" rel="stylesheet" type="text/css"/>  '); 
    } else {
        document.write('<link href="../css/style.css" rel="stylesheet" type="text/css"/>  '); 

    } 
    </script>
<link rel="stylesheet" type="text/css" href="../css/menu.css">

</head>
<body>
             <?php include '../include/header.php'; ?> 
             <?php include '../include/left.php'; ?> 
                <div id="wrapper_body_right">
                    <div id="body_inner_right">
                    <span style="font-size: 21px;">Contact Us</span>
                    <br /><br />
                    <form action="../contact_us/include/mail.php" method="post" id="contac_us" name="contact_us">
                         
                        <table>
                            <tr>
                                <td align="right">
                                    Name: 
                                </td>
                                <td>
                                    <input size="21" id="yourname" name="yourname" type="text">
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Email Address: 
                                </td>
                                <td>
                                    <input size="21" id="youremail" name="youremail" type="text">
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Subject: 
                                </td>
                                <td>
                                    <textarea id="yoursubject" name="yoursubject" cols="15" rows="5"></textarea>
                                </td>
                            </tr>
                            <tr>
                            <td>
                                
                            </td>
                                <td align="right">
                                    <input id="cmdSubmit" name="cmdSubmit" type="button" value="Submit"> 
                                </td>
                            </tr>
                        </table>
                        </form>
                        or
                        <br />
                        Email: <a style="color: ;" href="mailto:admin@artistgrowth.com">admin@artistgrowth.com</a> 
                        <br />
                        Phone: <b>615-953-2481</b>
                    </div>
                </div>
             <?php include '../include/footer.php'; ?>
             
             
             <script type="text/javascript">
            $("#cmdSubmit").click
            (      
                function()
                {
                    if($("#yourname").val() == ""){
                        inlineMessage("yourname","Please enter your <b>Full Name</b>.", 3);
                    }else if($("#youremail").val() == ""){
                        inlineMessage("youremail","Please enter your <b>Email Address</b>.", 3);
                    }else if($("#yoursubject").val() == ""){
                        inlineMessage("yoursubject","Please enter your <b>Subject</b>.", 3);
                    }else{
                        var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;
                        var emailaddress = $("#youremail").val();
                                                        
                        if(!emailReg.test(emailaddress)){
                            inlineMessage('youremail','Please enter your valid <b>Email Address</b>.',4);
                        } else {   
                             
                            //$("#agreementForm").submit();  
                            
                            $.post
                (
                    "<?php echo $config["base_url"]; ?>/contact_us/include/mail.php",
                    {
                        yourname: $("#yourname").val(),
                        youremail: $("#youremail").val(),
                        yoursubject: $("#yoursubject").val(),
                    },
                    function(data)
                    {
                        inlineMessage("yoursubject","Your Inquiry has been Successfully Sent.", 3);
                        $("#yourname").val("");
                        $("#youremail").val("");
                        $("#yoursubject").val("");
                        
                    }
                );     
                        }                                            
                    }   
                }
            );
            </script>
</body>
</html>
